package pack06_covid_sort_no_reduce;

import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

/**
 * @author lilulu
 * @date 2023/2/11 13:44
 */
public class CovidSortReducer extends Reducer<CovidSortBean, NullWritable, CovidSortBean, NullWritable> {
    @Override
    protected void reduce(CovidSortBean key, Iterable<NullWritable> values, Context context) throws IOException, InterruptedException {

        context.write(key,NullWritable.get());
    }
}
